<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Pragma" CONTENT="no-cache">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="renderer" content="webkit">

		<%include("/common/include.html"){}%>
	</head>

	<body class="easyui-layout">
			<input id="orderIds" type="hidden"  value="${orderIds}" />
			<table id="orderInfo_table" class="easyui-datagrid" style="height:100%;">
		
			</table>
		<script type="text/javascript">
			$(document).ready(function () {
				//加载数据表格
				loadTable();
			});
			
			function  loadTable()
			{	
				var orderIds=$('#orderIds').val();
				var url='/bchargeDebt/orderInfo';
				var data={"orderIds":orderIds};
				var reData = common_ajax.ajaxFunc(url,data,"json");
				$('#orderInfo_table').datagrid({
					cls: "theme-datagrid",
					singleSelect: true,
					fitColumns:true,
					rownumbers: true, //显示序号
					columns:[[
								{field:'name',title:'产品名称',width:100,align:'center'},
								{field:'type',title:'产品类别',width:80,align:'center'},
								{field:'capacity',title:'产品规格',width:80,align:'center'},
								{field:'unitprice',title:'单价',width:100,align:'center'},
								{field:'number',title:'数量',width:100,align:'center'},
								{field:'total',title:'总价',width:80,align:'center'},
								{field:'time',title:'购买时间',width:80,align:'center'}
						    ]],
					data: reData
				})
			}
		</script>
	</body>
</html>






